<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class DomSqlQueryIterator</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> DomSqlQueryIterator</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_libs---DomSql---Iterator---DomSqlQueryIterator.class.php.html">/libs/DomSql/Iterator/DomSqlQueryIterator.class.php</a> (line <span class="field"><a href="../__filesource/fsource_DomSql__libsDomSqlIteratorDomSqlQueryIterator.class.php.html#a26">26</a></span>)
		</p>
		
				
		<pre><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a>
   |
   --DomSqlQueryIterator</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../DomAr/Iterator/DomArDataIterator.html">DomArDataIterator</a>
					</td>
					<td>
											Basic Iterator For handling DomSql queries.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../DomAr/Iterator/DomArIterator.html">DomArIterator</a>
					</td>
					<td>
											Iterator that converts data to objects.
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>
					<a href="#$queryObject" title="details" class="var-name">$queryObject</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																			
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result"><a href="../DomSql/DomSqlQueryIterator.html">DomSqlQueryIterator</a></span>
										<a href="#c" title="details" class="method-name">c</a>
											(<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
									</div>
																											
				<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">DomSqlQueryIterator</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
									</div>
																							
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Int</span>
										<a href="#foundRows" title="details" class="method-name">foundRows</a>
										()
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$queryObject" id="$queryObject"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>
			<span class="var-name">$queryObject</span>
						(line <span class="line-number"><a href="../__filesource/fsource_DomSql__libsDomSqlIteratorDomSqlQueryIterator.class.php.html#a33">33</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Query object</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span></p>
					<blockquote>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$columnIndex">DomSqlIterator::$columnIndex</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$connectionAlias">DomSqlIterator::$connectionAlias</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$current">DomSqlIterator::$current</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$currentKey">DomSqlIterator::$currentKey</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$fetchType">DomSqlIterator::$fetchType</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$foundRows">DomSqlIterator::$foundRows</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$indexColumnName">DomSqlIterator::$indexColumnName</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$query">DomSqlIterator::$query</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$resource">DomSqlIterator::$resource</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../DomSql/DomSqlIterator.html#var$valueColumnName">DomSqlIterator::$valueColumnName</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodc" id="c"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static c</span> (line <span class="line-number"><a href="../__filesource/fsource_DomSql__libsDomSqlIteratorDomSqlQueryIterator.class.php.html#a40">40</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../DomSql/DomSqlQueryIterator.html">DomSqlQueryIterator</a></span>
		<span class="method-name">
			c
		</span>
					(<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>
				<span class="var-name">$query</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$alias</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../DomSql/DomSqlIterator.html#methodc">DomSqlIterator::c()</a></dt>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomArDataIterator.html#methodc">DomArDataIterator::c()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#methodc">DomArIterator::c()</a>
							</li>
				</ul>
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_DomSql__libsDomSqlIteratorDomSqlQueryIterator.class.php.html#a48">48</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">DomSqlQueryIterator</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>&nbsp;<span class="var-name">$query</span>, [<span class="var-type">String</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">DomSql::DEFAULT_ALIAS</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DomSql/DomSqlQuery.html">DomSqlQuery</a></span>
				<span class="var-name">$query</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$alias</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../DomSql/DomSqlIterator.html#method__construct">DomSqlIterator::__construct()</a></dt>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../DomAr/Iterator/DomArDataIterator.html#method__construct">DomArDataIterator::__construct()</a>
							</li>
					<li>
				<a href="../DomAr/Iterator/DomArIterator.html#method__construct">DomArIterator::__construct()</a>
								: Constructor
							</li>
				</ul>
	</div>
<a name="methodfoundRows" id="foundRows"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">foundRows</span> (line <span class="line-number"><a href="../__filesource/fsource_DomSql__libsDomSqlIteratorDomSqlQueryIterator.class.php.html#a59">59</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns nr of possible results for this query without LIMIT clause.</p>
<p class="description"><p>Depending on query it uses FOUND_ROWS() or sends another count(*) query.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Int</span>
		<span class="method-name">
			foundRows
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../DomSql/DomSqlIterator.html#methodfoundRows">DomSqlIterator::foundRows()</a></dt>
						<dd>Returns total nr of found rows. Select query must be commited with SQL_CALC_FOUND_ROWS flag. (SELECT SQL_CALC_FOUND_ROWS * FROM table WHERE 1=1)</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../DomSql/DomSqlIterator.html">DomSqlIterator</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#method__construct">DomSqlIterator::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodc">DomSqlIterator::c()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodcount">DomSqlIterator::count()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodcurrent">DomSqlIterator::current()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodexecute">DomSqlIterator::execute()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodfoundRows">DomSqlIterator::foundRows()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodgetColumnIndex">DomSqlIterator::getColumnIndex()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodkey">DomSqlIterator::key()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodnext">DomSqlIterator::next()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodparseCurrent">DomSqlIterator::parseCurrent()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodrewind">DomSqlIterator::rewind()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodsetFetchType">DomSqlIterator::setFetchType()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodsetIndexColumnName">DomSqlIterator::setIndexColumnName()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodsetValueColumnName">DomSqlIterator::setValueColumnName()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodtoArray">DomSqlIterator::toArray()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#methodvalid">DomSqlIterator::valid()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#method__destruct">DomSqlIterator::__destruct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../DomSql/DomSqlIterator.html#method__get">DomSqlIterator::__get()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:14:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>